package com.jeehentor.dto;

import com.jeehentor.entity.SysMenu;
import com.jeehentor.entity.SysMenuMeta;
import com.jeehentor.entity.SysMenuPermission;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;
import java.util.List;

/**
 * @Description : 菜单model
 * @Author : wzd
 * @Date : 2024/4/1 16:38
 * @Version : 1.0
 **/
@Data
@Schema(description = "菜单model")
public class MenuDTO extends SysMenu implements Serializable {
    @Serial
    private static final long serialVersionUID = 111577401687225383L;

    @Schema(description = "菜单元信息")
    private SysMenuMeta meta;

    @Schema(description = "权限列表")
    private List<SysMenuPermission> permissionList;
}
